﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
     <link rel="stylesheet" type="text/css" href="Styles/login.css" />
   
     
    
   
    <style type="text/css">
        .style1
        {
            width: 400px;
        }
        .style4
        {
            width: 10px;
        }
        .style5
        {
            width: 192px;
        }
        .style6
        {
            width: 126px;
        }
        </style>
   
 
    
   
</head>
<body>
   <br />
   <br />
   <br />
<br />
   <center>
   <table>
   <tr>
   <td>
       &nbsp;</td>
   <td></td>
   </tr>
   <tr>
   <td></td>
   <td>
       &nbsp;</td>
   </tr>
   
   </table>
   &nbsp;</center> 

<br />
<br />


 <div id="stylized" class="myform">
    <form id="Form1" runat="server">
    
    <h1>Inicio de Sesion</h1>
<p></p>

<label>Usuario
<span class="small">
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" Font-Size="Smaller"  runat="server" ErrorMessage="* Ingrese Usuario" ControlToValidate="txtUsuario" ForeColor="#B90000"></asp:RequiredFieldValidator></span>
</label>

    <asp:TextBox ID="txtUsuario" runat="server"  MaxLength="20"  style="text-transform :uppercase"></asp:TextBox>



<label>Contraseña
<span class="small"><asp:RequiredFieldValidator ID="RequiredFieldValidator2"  Font-Size="Smaller" runat="server" ErrorMessage="* Ingrese Contraseña" ControlToValidate="txtContraseña" ForeColor="#B90000"></asp:RequiredFieldValidator></span>
</label>

    <asp:TextBox ID="txtContraseña" runat="server" TextMode="Password" MaxLength="15" style="text-transform :uppercase">pn></asp:TextBox>

    <table class="style1">
        <tr>
            <td class="style6">
                &nbsp;</td>
            <td class="style5">

<asp:Button ID="LoginButton" runat="server" Text="Iniciar Sesion" 
        onclick="LoginButton_Click" />

                <asp:Label ID="lblUsuario" runat="server" Text="Usuario o Contraseña Incorrecto" ForeColor="#B90000" Visible="false"></asp:Label>

            </td>
            <td class="style4">
                &nbsp;</td>
        </tr>
    </table>

<div class="spacer"></div>

</form>
</div>

</body>
</html>
